<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../reset.css">
    <style>
        .nav-list{
            width: 1200px;
            height: 28px;
            background-color: #a8a8a8;

            margin: 0px auto;
        }
        .nav-list li{
            float: left;
            height: 28px;
            line-height: 28px;
        }

        a {
            display: block;
            text-decoration: none;
            font-size: 18px;
            color: #666666;
            padding: 0 40px;
        }

        li :hover{
            background-color: #4c4c4c;
            color: #F4F4F4;
        }
    </style>
</head>
<body>
<ul class="nav-list">
    <li><a href="#">HTML</a></li>
    <li><a href="#">Side</a></li>
    <li><a href="#">Server</a></li>
    <li><a href="#">Programming</a></li>
    <li><a href="#">Web Building</a></li>
    <li><a href="#">Reference</a></li>
</ul>
</body>
</html>